package com.baicaoyuan.web.request.br;

import com.baicaoyuan.web.request.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "com.baicaoyuan.web.request.br.BAddLotteryScoreRequest", description = "添加用户抽奖积分")
public class BAddLotteryScoreRequest extends BaseRequest {
    @ApiModelProperty(value = "用户id对应积分集合", required = true)
    private List<userId2Score> userId2ScoreList;


    @Data
    public static class userId2Score {
        /**
         * 用户id
         */
        private Long id;
        /**
         * 抽奖积分
         */
        private Integer score;
    }
}
